package com.atguigu.spzx.user;

import com.atguigu.spzx.common.anno.EnableUserWebMvcConfiguration;
import com.atguigu.spzx.common.config.Knife4jConfig;
import com.atguigu.spzx.common.config.UserWebMvcConfiguration;
import com.atguigu.spzx.common.intercepter.UserLoginAuthInterceptor;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;


@SpringBootApplication
@MapperScan("com.atguigu.spzx.user.mapper")
@Import(value = {Knife4jConfig.class/*, UserWebMvcConfiguration.class, UserLoginAuthInterceptor.class*/})
@EnableUserWebMvcConfiguration
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class,args);
    }
}
